package com.bwf.array;

import java.util.Arrays;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/16 9:53
 * @Copyright 博为峰
 */
public class ArraysDemo {
    public static void main(String[] args) {
        int[] arr = {5, 6, 7};
        int[] copy = Arrays.copyOf(arr, 6);
        System.out.println(Arrays.toString(copy));
    }
}
